package com.zhongjian.technologycal.mall.bean;

import java.util.List;

/**
 * Created by wei on 2018/1/9.
 */

public class ClassifyBean {


    /**
     * error_code : 0
     * error_message : 成功
     * data : [{"id":6,"categoryname":"内衣配饰","ord":0,"productSubCategories":[{"id":18,"categoryname":"内裤","icon":"/upload/pics/default.jpg","ord":0},{"id":19,"categoryname":"袜子","icon":"/upload/pics/default.jpg","ord":0},{"id":17,"categoryname":"内衣","icon":"/upload/pics/default.jpg","ord":0}]},{"id":2,"categoryname":"生活超市","ord":1,"productSubCategories":[{"id":8,"categoryname":"生鲜水果","icon":"/upload/pics/default.jpg","ord":0},{"id":4,"categoryname":"粮油厨房","icon":"/upload/pics/default.jpg","ord":2},{"id":3,"categoryname":"五谷杂粮","icon":"/upload/pics/default.jpg","ord":3},{"id":5,"categoryname":"酒水奶品","icon":"/upload/pics/default.jpg","ord":5},{"id":7,"categoryname":"洗护清洁","icon":"/upload/pics/default.jpg","ord":8},{"id":6,"categoryname":"休闲零食","icon":"/upload/pics/default.jpg","ord":8}]},{"id":3,"categoryname":"滋补保健","ord":2,"productSubCategories":[{"id":11,"categoryname":"改善亚健康","icon":"/upload/pics/default.jpg","ord":0},{"id":12,"categoryname":"告别三高","icon":"/upload/pics/default.jpg","ord":0},{"id":10,"categoryname":"美容美颜","icon":"/upload/pics/default.jpg","ord":0},{"id":9,"categoryname":"五谷代餐","icon":"/upload/pics/default.jpg","ord":1}]},{"id":7,"categoryname":"美容彩妆","ord":3,"productSubCategories":[{"id":20,"categoryname":"护肤品","icon":"/upload/pics/default.jpg","ord":0},{"id":21,"categoryname":"彩妆","icon":"/upload/pics/default.jpg","ord":0}]},{"id":1,"categoryname":"特色品牌","ord":4,"productSubCategories":[{"id":42,"categoryname":"专区2","icon":"/upload/pics/default.jpg","ord":0},{"id":2,"categoryname":"专区1","icon":"/home/public/upload/pics/5a89a0a1fd384371a39d241d493d4ba5.jpg","ord":1}]},{"id":4,"categoryname":"家居家纺","ord":5,"productSubCategories":[{"id":14,"categoryname":"居家布艺","icon":"/upload/pics/default.jpg","ord":0},{"id":13,"categoryname":"家居饰品","icon":"/upload/pics/default.jpg","ord":5}]},{"id":8,"categoryname":"健康配饰","ord":6,"productSubCategories":[{"id":36,"categoryname":"眼镜","icon":"/upload/pics/default.jpg","ord":0},{"id":23,"categoryname":"手表","icon":"/upload/pics/default.jpg","ord":0}]},{"id":5,"categoryname":"服饰配饰","ord":7,"productSubCategories":[{"id":16,"categoryname":"男装","icon":"/upload/pics/default.jpg","ord":0},{"id":15,"categoryname":"女装","icon":"/upload/pics/default.jpg","ord":0}]}]
     */

    private int error_code;
    private String error_message;
    private List<DataBean> data;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getError_message() {
        return error_message;
    }

    public void setError_message(String error_message) {
        this.error_message = error_message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 6
         * categoryname : 内衣配饰
         * ord : 0
         * productSubCategories : [{"id":18,"categoryname":"内裤","icon":"/upload/pics/default.jpg","ord":0},{"id":19,"categoryname":"袜子","icon":"/upload/pics/default.jpg","ord":0},{"id":17,"categoryname":"内衣","icon":"/upload/pics/default.jpg","ord":0}]
         */

        private int id;
        private String categoryname;
        private int ord;
        private List<ProductSubCategoriesBean> productSubCategories;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCategoryname() {
            return categoryname;
        }

        public void setCategoryname(String categoryname) {
            this.categoryname = categoryname;
        }

        public int getOrd() {
            return ord;
        }

        public void setOrd(int ord) {
            this.ord = ord;
        }

        public List<ProductSubCategoriesBean> getProductSubCategories() {
            return productSubCategories;
        }

        public void setProductSubCategories(List<ProductSubCategoriesBean> productSubCategories) {
            this.productSubCategories = productSubCategories;
        }

        public static class ProductSubCategoriesBean {
            /**
             * id : 18
             * categoryname : 内裤
             * icon : /upload/pics/default.jpg
             * ord : 0
             */

            private int id;
            private String categoryname;
            private String icon;
            private int ord;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCategoryname() {
                return categoryname;
            }

            public void setCategoryname(String categoryname) {
                this.categoryname = categoryname;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public int getOrd() {
                return ord;
            }

            public void setOrd(int ord) {
                this.ord = ord;
            }
        }
    }
}
